<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <style>
        /* 在这里添加CSS样式来设计页面 */
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
        }
        .container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .form-container {
            width: 40%;
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-control {
            width: 100%;
            padding: 10px;
            border: none;
            border-radius: 5px;
            outline: none;
            background-color: #f5f5f5;
            font-size: 16px;
            color: #333;
        }
        .form-control:focus {
            background-color: #ccc;
        }
        .btn-submit {
            width: 100%;
            background-color: #ff5722;
            border: none;
            border-radius: 5px;
            padding: 10px;
            cursor: pointer;
            font-size: 16px;
            color: white;
        }
        .btn-submit:hover {
            background-color: #e54d27;
        }
        .link-login {
            font-size: 14px;
            color: #999;
            margin-top: 10px;
        }
        .link-login:hover {
            color: #ff5722;
        }
        #username{
            width: 300px;
            height: 30px;
        }
        #password{
            width: 300px;
            height: 30px;
        }
        #confirmPassword{
            width: 300px;
            height: 30px;
        }
        @media only screen and (max-width: 390px) and (max-height: 844px) and (-webkit-device-pixel-ratio: 3) {
            .form-container {
                width: 100%;
              
            }
           
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="form-container">
            <h1>注册页面</h1>
            <div class="form-group">
                <label for="username">账号</label>
                <inpt type="text" id="username" placeholder="请输入您的账号">
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" id="password" placeholder="请输入您的密码">
            </div>
            <div class="form-group">
                <label for="confirmPassword">确认密码</label>
                <input type="password" id="confirmPassword" placeholder="请再次输入您的密码">
            </div>
            <div class="form-group">
                <button type="submit" class="btn-submit">注册</button>
            </div>
            <p >
                <a href="./login.html" class="link-login"> 已有账号 返回登录</a>
            </p>
        </div>
    </div>
</body>
</html>
